import request from '@/utils/request'

// 查询监测点基础列表
export function listJcd(query) {
  return request({
    url: '/ybyj/jcd/list',
    method: 'get',
    params: query
  })
}

// 查询监测点基础详细
export function getJcd(id) {
  return request({
    url: '/ybyj/jcd/' + id,
    method: 'get'
  })
}

// 新增监测点基础
export function addJcd(data) {
  return request({
    url: '/ybyj/jcd',
    method: 'post',
    data: data
  })
}

// 修改监测点基础
export function updateJcd(data) {
  return request({
    url: '/ybyj/jcd',
    method: 'put',
    data: data
  })
}

// 删除监测点基础
export function delJcd(id) {
  return request({
    url: '/ybyj/jcd/' + id,
    method: 'delete'
  })
}


